Optimal. Leaf size=95 \[ -\frac {4 a \cos (e+f x)}{3 f (c+d)^2 \sqrt {a \sin (e+f x)+a} \sqrt {c+d \sin (e+f x)}}-\frac {2 a \cos (e+f x)}{3 f (c+d) \sqrt {a \sin (e+f x)+a} (c+d \sin (e+f x))^{3/2}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.19, antiderivative size = 95, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, integrand size = 29, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.069, Rules used = {2772, 2771} \[ -\frac {4 a \cos (e+f x)}{3 f (c+d)^2 \sqrt {a \sin (e+f x)+a} \sqrt {c+d \sin (e+f x)}}-\frac {2 a \cos (e+f x)}{3 f (c+d) \sqrt {a \sin (e+f x)+a} (c+d \sin (e+f x))^{3/2}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2771
Rule 2772
Rubi steps
\begin {align*} \int \frac {\sqrt {a+a \sin (e+f x)}}{(c+d \sin (e+f x))^{5/2}} \, dx &=-\frac {2 a \cos (e+f x)}{3 (c+d) f \sqrt {a+a \sin (e+f x)} (c+d \sin (e+f x))^{3/2}}+\frac {2 \int \frac {\sqrt {a+a \sin (e+f x)}}{(c+d \sin (e+f x))^{3/2}} \, dx}{3 (c+d)}\\ &=-\frac {2 a \cos (e+f x)}{3 (c+d) f \sqrt {a+a \sin (e+f x)} (c+d \sin (e+f x))^{3/2}}-\frac {4 a \cos (e+f x)}{3 (c+d)^2 f \sqrt {a+a \sin (e+f x)} \sqrt {c+d \sin (e+f x)}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.27, size = 100, normalized size = 1.05 \[ -\frac {2 \sqrt {a (\sin (e+f x)+1)} \left (\cos \left (\frac {1}{2} (e+f x)\right )-\sin \left (\frac {1}{2} (e+f x)\right )\right ) (3 c+2 d \sin (e+f x)+d)}{3 f (c+d)^2 \left (\sin \left (\frac {1}{2} (e+f x)\right )+\cos \left (\frac {1}{2} (e+f x)\right )\right ) (c+d \sin (e+f x))^{3/2}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [B] time = 0.46, size = 300, normalized size = 3.16 \[ \frac {2 \, {\left (2 \, d \cos \left (f x + e\right )^{2} + {\left (3 \, c + d\right )} \cos \left (f x + e\right ) + {\left (2 \, d \cos \left (f x + e\right ) - 3 \, c + d\right )} \sin \left (f x + e\right ) + 3 \, c - d\right )} \sqrt {a \sin \left (f x + e\right ) + a} \sqrt {d \sin \left (f x + e\right ) + c}}{3 \, {\left ({\left (c^{2} d^{2} + 2 \, c d^{3} + d^{4}\right )} f \cos \left (f x + e\right )^{3} + {\left (2 \, c^{3} d + 5 \, c^{2} d^{2} + 4 \, c d^{3} + d^{4}\right )} f \cos \left (f x + e\right )^{2} - {\left (c^{4} + 2 \, c^{3} d + 2 \, c^{2} d^{2} + 2 \, c d^{3} + d^{4}\right )} f \cos \left (f x + e\right ) - {\left (c^{4} + 4 \, c^{3} d + 6 \, c^{2} d^{2} + 4 \, c d^{3} + d^{4}\right )} f + {\left ({\left (c^{2} d^{2} + 2 \, c d^{3} + d^{4}\right )} f \cos \left (f x + e\right )^{2} - 2 \, {\left (c^{3} d + 2 \, c^{2} d^{2} + c d^{3}\right )} f \cos \left (f x + e\right ) - {\left (c^{4} + 4 \, c^{3} d + 6 \, c^{2} d^{2} + 4 \, c d^{3} + d^{4}\right )} f\right )} \sin \left (f x + e\right )\right )}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F(-2)] time = 0.00, size = 0, normalized size = 0.00 \[ \text {Exception raised: NotImplementedError} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [B] time = 0.34, size = 222, normalized size = 2.34 \[ \frac {2 \sqrt {a \left (1+\sin \left (f x +e \right )\right )}\, \sqrt {c +d \sin \left (f x +e \right )}\, \left (2 \left (\cos ^{4}\left (f x +e \right )\right ) d^{3}+\sin \left (f x +e \right ) \left (\cos ^{2}\left (f x +e \right )\right ) c \,d^{2}+\sin \left (f x +e \right ) \left (\cos ^{2}\left (f x +e \right )\right ) d^{3}+4 c^{2} \left (\cos ^{2}\left (f x +e \right )\right ) d +c \left (\cos ^{2}\left (f x +e \right )\right ) d^{2}-3 \left (\cos ^{2}\left (f x +e \right )\right ) d^{3}+3 c^{3} \sin \left (f x +e \right )+5 c^{2} d \sin \left (f x +e \right )+c \,d^{2} \sin \left (f x +e \right )-d^{3} \sin \left (f x +e \right )-3 c^{3}-5 c^{2} d -c \,d^{2}+d^{3}\right )}{3 f \cos \left (f x +e \right ) \left (\left (\cos ^{2}\left (f x +e \right )\right ) d^{2}+c^{2}-d^{2}\right )^{2} \left (c +d \right )^{2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [B] time = 1.05, size = 340, normalized size = 3.58 \[ -\frac {2 \, {\left ({\left (3 \, c^{2} + c d\right )} \sqrt {a} - \frac {{\left (3 \, c^{2} - 9 \, c d - 2 \, d^{2}\right )} \sqrt {a} \sin \left (f x + e\right )}{\cos \left (f x + e\right ) + 1} + \frac {2 \, {\left (3 \, c^{2} - 4 \, c d + 3 \, d^{2}\right )} \sqrt {a} \sin \left (f x + e\right )^{2}}{{\left (\cos \left (f x + e\right ) + 1\right )}^{2}} - \frac {2 \, {\left (3 \, c^{2} - 4 \, c d + 3 \, d^{2}\right )} \sqrt {a} \sin \left (f x + e\right )^{3}}{{\left (\cos \left (f x + e\right ) + 1\right )}^{3}} + \frac {{\left (3 \, c^{2} - 9 \, c d - 2 \, d^{2}\right )} \sqrt {a} \sin \left (f x + e\right )^{4}}{{\left (\cos \left (f x + e\right ) + 1\right )}^{4}} - \frac {{\left (3 \, c^{2} + c d\right )} \sqrt {a} \sin \left (f x + e\right )^{5}}{{\left (\cos \left (f x + e\right ) + 1\right )}^{5}}\right )} {\left (\frac {\sin \left (f x + e\right )^{2}}{{\left (\cos \left (f x + e\right ) + 1\right )}^{2}} + 1\right )}^{2}}{3 \, {\left (c^{2} + 2 \, c d + d^{2} + \frac {2 \, {\left (c^{2} + 2 \, c d + d^{2}\right )} \sin \left (f x + e\right )^{2}}{{\left (\cos \left (f x + e\right ) + 1\right )}^{2}} + \frac {{\left (c^{2} + 2 \, c d + d^{2}\right )} \sin \left (f x + e\right )^{4}}{{\left (\cos \left (f x + e\right ) + 1\right )}^{4}}\right )} {\left (c + \frac {2 \, d \sin \left (f x + e\right )}{\cos \left (f x + e\right ) + 1} + \frac {c \sin \left (f x + e\right )^{2}}{{\left (\cos \left (f x + e\right ) + 1\right )}^{2}}\right )}^{\frac {5}{2}} f} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 13.90, size = 353, normalized size = 3.72 \[ -\frac {\sqrt {c+d\,\sin \left (e+f\,x\right )}\,\left (\frac {{\mathrm {e}}^{e\,1{}\mathrm {i}+f\,x\,1{}\mathrm {i}}\,\sqrt {a+a\,\sin \left (e+f\,x\right )}\,8{}\mathrm {i}}{3\,d\,f\,{\left (c\,1{}\mathrm {i}+d\,1{}\mathrm {i}\right )}^2}+\frac {8\,{\mathrm {e}}^{e\,4{}\mathrm {i}+f\,x\,4{}\mathrm {i}}\,\sqrt {a+a\,\sin \left (e+f\,x\right )}}{3\,d\,f\,{\left (c\,1{}\mathrm {i}+d\,1{}\mathrm {i}\right )}^2}+\frac {8\,c\,{\mathrm {e}}^{e\,2{}\mathrm {i}+f\,x\,2{}\mathrm {i}}\,\sqrt {a+a\,\sin \left (e+f\,x\right )}}{d^2\,f\,{\left (c\,1{}\mathrm {i}+d\,1{}\mathrm {i}\right )}^2}+\frac {c\,{\mathrm {e}}^{e\,3{}\mathrm {i}+f\,x\,3{}\mathrm {i}}\,\sqrt {a+a\,\sin \left (e+f\,x\right )}\,8{}\mathrm {i}}{d^2\,f\,{\left (c\,1{}\mathrm {i}+d\,1{}\mathrm {i}\right )}^2}\right )}{{\mathrm {e}}^{e\,5{}\mathrm {i}+f\,x\,5{}\mathrm {i}}-\frac {{\left (c+d\right )}^2\,1{}\mathrm {i}}{{\left (c\,1{}\mathrm {i}+d\,1{}\mathrm {i}\right )}^2}-\frac {2\,{\mathrm {e}}^{e\,3{}\mathrm {i}+f\,x\,3{}\mathrm {i}}\,\left (2\,c^2+2\,c\,d+d^2\right )}{d^2}+\frac {{\mathrm {e}}^{e\,1{}\mathrm {i}+f\,x\,1{}\mathrm {i}}\,\left (4\,c+d\right )}{d}+\frac {{\mathrm {e}}^{e\,2{}\mathrm {i}+f\,x\,2{}\mathrm {i}}\,{\left (c+d\right )}^2\,\left (2\,c^2+2\,c\,d+d^2\right )\,2{}\mathrm {i}}{d^2\,{\left (c\,1{}\mathrm {i}+d\,1{}\mathrm {i}\right )}^2}-\frac {{\mathrm {e}}^{e\,4{}\mathrm {i}+f\,x\,4{}\mathrm {i}}\,{\left (c+d\right )}^2\,\left (4\,c+d\right )\,1{}\mathrm {i}}{d\,{\left (c\,1{}\mathrm {i}+d\,1{}\mathrm {i}\right )}^2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\sqrt {a \left (\sin {\left (e + f x \right )} + 1\right )}}{\left (c + d \sin {\left (e + f x \right )}\right )^{\frac {5}{2}}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________